#if compile x86 demo on unbuntu 64.
#CC:=gcc -m32

CFLAGS = $(shell pkg-config --cflags --libs gstreamer-1.0 --libs gthread-2.0 --libs gstreamer-app-1.0)
all:miot 
	@echo build complete


clean:
	-rm miot

miot:miot.c
	$(CC) miot.c  $(CFLAGS) -lrt -lm -o miot -O0 -g3 -I"./include" -L"./lib" -ltxdevicesdk -ldl -lstdc++ -Wall
	cp miot /home/ftp/pub


